package cn.yitun.chat.yitunservercommonlib.constant;

/**
 * 系统常量
 * 
 * @author yitun
 * 
 */
public class Constants {
    /**
     * 系统random long的时候基数
     */
    public static final long baseRandomLong = 100000000000000l;

    /**
     * 多个参数字符串分隔符
     */
    public static final String STR_SEPARATOR = ",";

    /**
     * 令牌名称
     */
    public final static String TOKEN = "token";

    /**
     * 当前登录用户
     */
    public final static String CURRENT_LOGIN_USER = "currentLoginUser";

    /**
     * 当前websocket用户
     */
    public final static String CURRENT_WEBSOCK_USER = "currentSockUser";

    /**
     * request信息
     */
    public final static String REQUEST_INFO = "requestInfo";

    public final static Boolean MENU_NAME_NOT_UNIQUE = false;

    public final static Boolean DICT_TYPE_NOT_UNIQUE = false;

    public final static Boolean ROLE_NAME_NOT_UNIQUE = false;
    /**
     * 分组已经达到最大上限
     */
    public final static int CONTACT_CATEGORY_MAX_COUNT = 30;
}
